package com.wjy.icu;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import springfox.documentation.swagger2.annotations.EnableSwagger2;
import tk.mybatis.spring.annotation.MapperScan;

@EnableWebMvc
@EnableSwagger2
@SpringBootApplication
@EnableScheduling
@ComponentScan(basePackages = {
        "com.wjy.*"})
@MapperScan("com.wjy.*.mapper")
public class IcuApplication {

    public static void main(String[] args) {
        SpringApplication.run(IcuApplication.class, args);
    }

}
